Join

Syntax samples

JOIN {<expression>}

Description

Selects a location whenever a JOIN request is issued at that location. Since a joining entity does not require capacity, there is no need to check for available capacity at the destination. Multiple JOIN requests are filled according to the oldest waiting request with the highest priority. Entities routed with the JOIN routing rule are not actually sent to their destination until a JOIN statement is encountered at the destination location.

Valid In

The rule field of the Routing edit table only.

Components

<expression>

The total entities output from the process. This expression is valid only for the first routing of a routing block. For more information on this expression, see Processing.

Example

After EntA completes a 5.2 minute operation at Loc1, it routes to Loc2, Loc3 or Loc4 to join to some other entity that issued a JOIN request for an EntA.

Process Table

Entity

Location

Operation (min)

EntA

Loc1

WAIT 5.2

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

EntA

Loc2

JOIN 1

 

EntA

Loc3

JOIN

 

EntA

Loc4

JOIN

 

See Also

JOIN statement. Also see Processing.